//
//  ViewController.m
//  myTest2
//
//  Created by Hongshi on 15/10/26.
//  Copyright © 2015年 Hongshi. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    self.navigationItem.title = @"首页";
    self.view.backgroundColor = [UIColor orangeColor];
    
    UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(100, 100, 200, 44)];
    label.text = @"hello world";
    [self.view addSubview:label];
    

    UILabel *label2 = [[UILabel alloc] initWithFrame:CGRectMake(100, 200, 200, 44)];
    label2.text = @"my name is wangjiayu";
    [self.view addSubview:label2];

    
    UILabel *label3 = [[UILabel alloc] initWithFrame:CGRectMake(100, 100, 200, 44)];
    label3.text = @"xiaowang work hard";
    [self.view addSubview:label3];
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
